#include<stdio.h>
#define MAXNUM 60
int calstrlen(char *);
void printbdy();
int main(void)
{
        char *str1,*str2;
        int n,i=0;
        printbdy();
        str1="college of computer science";
        str2="zhe jiang university";
        //printf("the lenth of str1 is:%d\n",calstrlen(str1));
        //printf("the lenth of str2 is:%d\n",calstrlen(str2));
        n=(MAXNUM-calstrlen(str1))/2;
        while(i++<=n)putchar(' ');
        puts(str1);
	n=(MAXNUM-calstrlen(str2))/2;
	i=0;
	while(i++<=n)putchar(' ');
	puts(str2);
	printbdy();
	return 0;
}
int calstrlen(char *str)
{
        int i;
        for(i=0;*(str+i)!='\0';i++);
        return i;
}
void printbdy()
{
        int a=MAXNUM;
        while(a--!=0)putchar('*');
        putchar('\n');
}          
